package com.hotel.entitys;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Timestamp;
import java.util.Date;

/**
 * @author chend
 * @time 2022/03/02 10:51:15
 */

@Data
@ApiModel(value = "Reserve",description = "预定客户信息")
public class Reserve {
    @ApiModelProperty(value = "主键自增")
    Integer reserve_id;
    @ApiModelProperty(value = "预定客户姓名")
    String reserve_name ;
    @ApiModelProperty(value = "预定客户电话")
    String reserve_phone ;
    @ApiModelProperty(value = "预定客户位置")
    String reserve_from ;
    @ApiModelProperty(value = "预定房间编号")
    String room_code ;
    @ApiModelProperty(value = "房间是否有人住，1代表无，2代表有")
    Integer reserve_status ;
    @ApiModelProperty(value = "客户预定房间时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Timestamp reserve_time ;
}
